# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-pymata4
pkgver=1.15
pkgrel=2
pkgdesc="a Python Protocol Abstraction Library For Arduino Firmata"
url="https://github.com/MrYsLab/pymata4"
arch="noarch"
license="AGPL-3.0-or-later"
depends="python3 py3-pyserial"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/pymata4/pymata4-$pkgver.tar.gz"
builddir="$srcdir/pymata4-$pkgver"
options="!check" # No tests.

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
f4e6d93abe0557f9275527dcf1e548f9bc4940f5ceec6acdd3127e137b48a94a865d8f1ba6afd51b3e0d8fdcb56eef6e43f5a4f1931d7d8422fee3e9192d7bc1  pymata4-1.15.tar.gz
"
